﻿<%@ Page Language="C#" MasterPageFile="..\MasterPages\MedianamikModule.master" 
    AutoEventWireup="True" CodeBehind="ForumList.aspx.cs" Inherits="Medianamik.UI.Web.Forum.ForumList" %>

<asp:Content ID="ContextMenuContent" ContentPlaceHolderID="ContextMenu" runat="server">
    <asp:UpdatePanel ID="MenuUpdatePanel" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true">
        <ContentTemplate>
            <asp:HyperLink ID="AddNodeButton" runat="server" 
                class="Action BtAjouter" Text="<%$ Resources: Medianamik_Forum, NewForumGroup %>" />
	        <asp:HyperLink runat="server" ID="ReturnLink" 
	            CssClass="Action BtAnnuler-Inactif" Text="<%$ Resources: Medianamik_Global, Cancel %>" />
	    </ContentTemplate>
	</asp:UpdatePanel>
</asp:Content>

<asp:Content ID="CenterContent" ContentPlaceHolderID="CenterContent" runat="server">
    <asp:UpdatePanel ID="ForumUpdatePanel" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <asp:PlaceHolder runat="server" ID="NoConfigurationMessage" Visible="false">
                <div class="ValidationSummary">
                     <strong><asp:Literal runat="server" Text="<%$ Resources: Medianamik_Global, Warning %>" /></strong>
                     <ul><li><asp:Literal runat="server" Text="<%$ Resources: Medianamik_Forum, NoConfigurationMessage %>" /></li></ul>
                </div>
            </asp:PlaceHolder>
            <med:BreadcrumbTrail ID="Breadcrumbs" runat="server" CssClass="FilAriane" OnNavigateParent="NavigateToParent" />
            <telerik:RadGrid runat="server" ID="ForumGrid" EnableEmbeddedSkins="false" 
                Skin="Medianamik" AllowPaging="false" AutoGenerateColumns="false" Width="100%">
                <MasterTableView DataKeyNames="ID" GroupLoadMode="Client" />
            </telerik:RadGrid>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>